package com.cms.service;

import java.util.List;

import com.cms.model.ImportChannelData;
import com.cms.model.ImportCpData;
import com.cms.model.ImportData;
import com.cms.sync.model.KpaySyncLog;
import com.model.Admin;

public interface ImportDataService {
	public boolean saveImportData(List<ImportData> list);
	public List<ImportData> getImportDataByContent(ImportData model);
	
	public boolean saveImportCpData(List<ImportCpData> list);
	public List<ImportCpData> getImportCpDataByContent(ImportCpData model);
	
	public boolean saveImportChannelData(List<ImportChannelData> list);
	public List<ImportChannelData> getImportChannelDataByContent(ImportChannelData model);
	
	public List<ImportData> queryImportDataByContent(String startdate,String enddate,
			int cpid,String appnumber,String appversionnumber,int channelid,String bd,String goodsname,String operator,String source
			,String province,String dimension,Admin admin);
	public List<ImportCpData> queryImportCpDataByContent(String startdate,String enddate,
			int cpid,String appnumber,int channelid,String bd,String goodsname,String operator,String source
			,String province,String dimension);
	public List<ImportChannelData> queryImportChannelDataByContent(String startdate,String enddate,
			int cpid,String appnumber,String appversionnumber,int channelid,String bd,String goodsname,String operator,String source
			,String province,String dimension,Admin admin);
	
	public List<KpaySyncLog> getSyncDataAsImportData(String startday,String endday);
}
